package com.woniu.cinema.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.woniu.common.annotation.Excel;

import java.util.Date;

/**
 * @author 杨光
 * @date 2022年04月07日 17:34
 */
public class HallMovieVo {

    /** 主键 */
    private Integer hallMovieId;

    /** 电影id */
    @Excel(name = "电影id")
    private Integer movieId;

    /** 影厅id */
    @Excel(name = "影厅id")
    private Integer hallId;

    /** 开始时间 */
    @JsonFormat(pattern = "HH:mm")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 结束时间 */
    @JsonFormat(pattern = "HH:mm")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 票价 */
    @Excel(name = "票价")
    private Integer fareMoney;

    /** 电影院id */
    @Excel(name = "电影院id")
    private Integer cinemaId;

    /** 影厅名称 */
    @Excel(name = "影厅名称")
    private String hallName;

    /** 电影版本 */
    @Excel(name = "电影版本")
    private String movieVersion;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    public Date getStartTime2(){
        return this.startTime;
    }

    @Override
    public String toString() {
        return "HallMovieVo{" +
                "hallMovieId=" + hallMovieId +
                ", movieId=" + movieId +
                ", hallId=" + hallId +
                ", startTime=" + startTime +
                ", endTime=" + endTime +
                ", fareMoney=" + fareMoney +
                ", cinemaId=" + cinemaId +
                ", hallName='" + hallName + '\'' +
                ", movieVersion='" + movieVersion + '\'' +
                '}';
    }

    public Integer getHallMovieId() {
        return hallMovieId;
    }

    public void setHallMovieId(Integer hallMovieId) {
        this.hallMovieId = hallMovieId;
    }

    public Integer getMovieId() {
        return movieId;
    }

    public void setMovieId(Integer movieId) {
        this.movieId = movieId;
    }

    public Integer getHallId() {
        return hallId;
    }

    public void setHallId(Integer hallId) {
        this.hallId = hallId;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Integer getFareMoney() {
        return fareMoney;
    }

    public void setFareMoney(Integer fareMoney) {
        this.fareMoney = fareMoney;
    }

    public Integer getCinemaId() {
        return cinemaId;
    }

    public void setCinemaId(Integer cinemaId) {
        this.cinemaId = cinemaId;
    }

    public String getHallName() {
        return hallName;
    }

    public void setHallName(String hallName) {
        this.hallName = hallName;
    }

    public String getMovieVersion() {
        return movieVersion;
    }

    public void setMovieVersion(String movieVersion) {
        this.movieVersion = movieVersion;
    }
}
